// web api代理,可通过环境变量api_url修改默认值
const target = process.env.api_url || 'http://127.0.0.1:8000';

module.exports = {
	'/api': {
		target: target,
		secure: false,
		ws: true,
		pathRewrite: {
			'^/api': '',
		},
	},
};
